package com.good.msgsys.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author junlong
 * @date 2021/1/7 17:19
 */
@Entity
@Table(name = "award")
@ApiModel("成果实体Award")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Award implements Serializable {
    @ApiModelProperty(value = "成果id")
    @Id
    private String id;
    @ApiModelProperty(value = "论文id")
    private String paperId;
    @ApiModelProperty(value = "著作id")
    private String opusId;
}
